package com.vhall.component.entity.account.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lsl
 * @since 2021/4/27
 */
@Data
public class GetRoleListReqVO implements Serializable {


    @NotNull(message = "参数错误")
    private Integer page;

    @NotNull(message = "参数错误")
    @Range(max = 1, min = 0, message = "参数错误")
    private Integer status;

    private String keyword;

    @ParamName("start_time")
    private LocalDateTime beginTime;

    @ParamName("end_time")
    private LocalDateTime endTime;

}
